package com.yu.POJO;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: LittleFisher
 * @Date: 2021/05/30/22:58
 * @Description:
 */
public class StuInfo {
    private int id;
    private String age;
    private String sex;
    private String address;
    private String phone;
    private String dormitory;//宿舍
    private String native_place;//籍贯

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDormitory() {
        return dormitory;
    }

    public void setDormitory(String dormitory) {
        this.dormitory = dormitory;
    }

    public String getNative_place() {
        return native_place;
    }

    public void setNative_place(String native_place) {
        this.native_place = native_place;
    }

    @Override
    public String toString() {
        return "StuInfo{" +
                "id=" + id +
                ", age='" + age + '\'' +
                ", sex='" + sex + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", dormitory='" + dormitory + '\'' +
                ", native_place='" + native_place + '\'' +
                '}';
    }

    public StuInfo() {
    }

    public StuInfo(int id, String age, String sex, String address, String phone, String dormitory, String native_place) {
        this.id = id;
        this.age = age;
        this.sex = sex;
        this.address = address;
        this.phone = phone;
        this.dormitory = dormitory;
        this.native_place = native_place;
    }
    public StuInfo(String age,String sex, String address, String phone, String dormitory, String native_place) {
        this.age = age;
        this.sex = sex;
        this.address = address;
        this.phone = phone;
        this.dormitory = dormitory;
        this.native_place = native_place;
    }
}
